<include file="Public:header"/>
<a href="{:U('insert')}">写文章</a>
<table class="table table-striped">
    <tr>
        <td>标题</td>
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
        <td>最近修改时间</td>
        <td></td>
    </tr>
    <foreach name="articles" item="articles">
        <tr>
            <td><a href="Contents/detail/id/{$articles.id}">{$articles.title}</a></td>
            <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
            <td>{$articles.updatetime}</td>

            <td>&nbsp;
                <a href="Admin/edit/id/{$articles.id}">编辑</a>&nbsp;
                <a href="Admin/delete/id/{$articles.id}">删除</a>

            </td>
        </tr>
    </foreach>
</table>